-
Home
-
Jetpack Boost – Website Speed, Performance and Critical CSS
-
4.3.1
-
Code
-
Classes
- Wpcom_Products
| Total Complexity |
46 |
| Dependencies |
6 |
| Dependents |
19 |
| Total lines |
387 |
| Lines of code |
207 |
| Logical lines of code |
119 |
| Comment lines |
118 |
| Methods |
14 |
| Properties |
1 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_products_from_wpcom() |
A |
42 |
8 |
55 |
| get_products() |
S |
57 |
6 |
19 |
| build_check_hash() |
S |
56 |
6 |
18 |
| get_site_current_purchases() |
S |
50 |
5 |
31 |
| populate_with_discount() |
S |
58 |
4 |
15 |
| get_product_pricing() |
S |
53 |
3 |
24 |
| is_cache_old() |
S |
62 |
3 |
11 |
| get_site_current_plan() |
S |
67 |
3 |
8 |
| get_product() |
S |
70 |
2 |
6 |
| get_request_failure() |
S |
71 |
2 |
6 |
| update_cache() |
S |
72 |
1 |
5 |
| get_products_from_cache() |
S |
78 |
1 |
3 |
| reset_request_failures() |
S |
80 |
1 |
3 |
| set_request_failure() |
S |
79 |
1 |
3 |